from flask import Blueprint
from flask_restplus import Api

# 蓝图声明
users = Blueprint('users', __name__)

# 路由声明
users_api = Api(users, version='1.0', title='用户相关', description='用户相关API都在这里')
users_ns = users_api.namespace('', description='用户模块的接口列表')

# 必须有，否则无法生成对应路由
from .filed import user_filed
from .resource import users_resource

